#ifndef __IP_HANDLE__
#define __IP_HANDLE__

#include "tools.h"
#include "get_interface.h"
extern void *ip_recv(void *arg); // 处理ip协议
int icmp_send(int sockfd, unsigned char *buf, int buf_len,
              unsigned char ip[4], unsigned char mac[6], INTERFACE *eth); // 转发icmp报文

#endif // !__IP_HANDLE__
